package com.lwisniewski.pg.hematometry.pipeline.in;

import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.stereotype.Component;

import com.lwisniewski.pg.pulsehematometry.serial.facade.SerialPortReaderFacade;
import com.lwisniewski.pg.pulsehematometry.serial.main.SerialMain;
import com.lwisniewski.pg.pulsehematometry.serial.main.SerialPortReaderService;

public class PipelineInput {
	private final static Logger LOGGER = LoggerFactory.getLogger(PipelineInput.class);
	
	private final ApplicationContext context = new ClassPathXmlApplicationContext("pipeline-context.xml");
	
	private SerialPortReaderFacade serialFacade;
	
	public SerialPortReaderFacade getSerialFacade() {
		return serialFacade;
	}

	public void setSerialFacade(SerialPortReaderFacade serialFacade) {
		this.serialFacade = serialFacade;
	}
	
}
